package com.lyf.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

/**
 * 黑名单配置
 * @author ce.liu
 * @version 0.0.1, 2020/11/27
 **/
@Component
@ConfigurationProperties(prefix = "filter.refuse-path")
@Data
public class RefusePathProperties {
    private ArrayList<String> urls = new ArrayList<>();

    private String keyWord = "/web/";

    private String swaggerSuffix="/v2/api-docs";
}
